#!/usr/bin/env python

# Imports
import pygtk
pygtk.require('2.0')
import gtk
import random
import gobject
from time import sleep
from biblioteca2 import *
from globals2 import *

def destroy(self):
   gtk.main_quit()

def main():
   gtk.main()
   return 0

if __name__ == "__main__":

   window.set_title("SimpleLogo")
   window.set_default_size(640,480)
   window.set_position(gtk.WIN_POS_CENTER)
   window.connect("destroy", destroy)

   area.set_size_request(640, 480)
   window.add(area)
   area.show()
   area.modify_bg(gtk.STATE_NORMAL, bg_color)

   window.show()

   go(0,0) # Inicia a execucao

   go(300,400)
   go(300,200)
   go(500, 200)
   go(0,0)

   main()
